It cannot be done at the moment, will be possible as of 3.4 though.
On Mon, Aug 10, 2009 at 11:26 AM, Gabriel Petrescu wrote:
> hi:::)
>
> where is set the size of thumbnail in px?
>
> I want as thumbnail to be generated at al larger width.
>
> Gabi
>
you can make like this that you first make thumbnail with ratio from
original and then you set it up to be resized for viewing (width="100"):
{{ if $campsite->article->has_image(1) }}
border="0">
{{ /if }}
I was just reading the other posts quickly here and now I'm not sure
if in the above should be ...image (1)....
the number in brackets.
/Sanna
On 10.8.2009, at 19.40, Holman Romero wrote:
> Hi Gabi,
>
> It cannot be done at the moment, will be possible as of 3.4 though.
>
>
>
> On Mon, Aug 10, 2009 at 11:26 AM, Gabriel Petrescu
> > wrote:
>> hi:::)
>>
>> where is set the size of thumbnail in px?
>>
>> I want as thumbnail to be generated at al larger width.
>>
>> Gabi
>>
>
>
>
> --
> /holman
On Mon, Aug 10, 2009 at 2:13 PM, Generare Management
Department wrote:
> Hi Gabi,
>
> you can make like this that you first make thumbnail with ratio from
> original and then you set it up to be resized for viewing (width="100"):
>
>
you upload a photo, then the thumbnail is generated and cached, before the
page with article or section to be displayed.
In this case, can I change the size of thumbnail is made?
Or is a different process?
Gabi
----- Original Message -----
From: "Generare Management Department"
To:
Sent: Monday, August 10, 2009 10:13 PM
Subject: Re: [campsite-support] thmubnail size
> Hi Gabi,
>
> you can make like this that you first make thumbnail with ratio from
> original and then you set it up to be resized for viewing (width="100"):
>
> {{ if $campsite->article->has_image(1) }}
>
> border="0">
> {{ /if }}
>
>
> I was just reading the other posts quickly here and now I'm not sure if
> in the above should be ...image (1)....
> the number in brackets.
>
> /Sanna
>
>
> On 10.8.2009, at 19.40, Holman Romero wrote:
>
>> Hi Gabi,
>>
>> It cannot be done at the moment, will be possible as of 3.4 though.
>>
>>
>>
>> On Mon, Aug 10, 2009 at 11:26 AM, Gabriel Petrescu
>> > wrote:
>>> hi:::)
>>>
>>> where is set the size of thumbnail in px?
>>>
>>> I want as thumbnail to be generated at al larger width.
>>>
>>> Gabi
>>>
>>
>>
>>
>> --
>> /holman
>
>
>
>
>
I guess you are uploading the image via the Image Archive, right?
Well, i didn't understand the question, a bit confusing... but, if
what you want is to set the size for the thumbnail which is gonna be
generated, sorry... you can't, it is a fixed value. Hum... you still
can change it by hand, all you'd have to do is to edit
conf/install_conf.php, specifically this setting:
$Campsite['THUMBNAIL_MAX_SIZE'] = 64;
and set the value you want. Be aware this will affect all images'
thumbnails after the change.
On Mon, Aug 10, 2009 at 3:06 PM, Gabriel Petrescu wrote:
> Hi!
>
> you upload a photo, then the thumbnail is generated and cached, before the
> page with article or section to be displayed.
>
> In this case,
The ratio as a percent it gives me some headackes, before you will nevere
know the uploaded file size (in px).
So, I can asume it will never be uploaded a file smaller thant 500 px with,
so this it will be the thumbnail, thumbnail which is used in admin section
and in articles / section pages.
----- Original Message -----
From: "Holman Romero"
To:
Sent: Tuesday, August 11, 2009 2:29 AM
Subject: Re: [campsite-support] thmubnail size
Gabi,
I guess you are uploading the image via the Image Archive, right?
Well, i didn't understand the question, a bit confusing... but, if
what you want is to set the size for the thumbnail which is gonna be
generated, sorry... you can't, it is a fixed value. Hum... you still
can change it by hand, all you'd have to do is to edit
conf/install_conf.php, specifically this setting:
$Campsite['THUMBNAIL_MAX_SIZE'] = 64;
and set the value you want. Be aware this will affect all images'
thumbnails after the change.
On Mon, Aug 10, 2009 at 3:06 PM, Gabriel Petrescu
wrote:
> Hi!
>
> you upload a photo, then the thumbnail is generated and cached, before the
> page with article or section to be displayed.
>
> In this case, can I change the size of thumbnail is made?
>
> Or is a different process?
>
> Gabi
> ----- Original Message ----- From: "Generare Management Department"
>
> To:
> Sent: Monday, August 10, 2009 10:13 PM
> Subject: Re: [campsite-support] thmubnail size
>
>
>> Hi Gabi,
>>
>> you can make like this that you first make thumbnail with ratio from
>> original and then you set it up to be resized for viewing (width="100"):
>>
>> {{ if $campsite->article->has_image(1) }}
>>
>> border="0">
>> {{ /if }}
>>
>>
>> I was just reading the other posts quickly here and now I'm not sure if
>> in the above should be ...image (1)....
>> the number in brackets.
>>
>> /Sanna
>>
>>
>> On 10.8.2009, at 19.40, Holman Romero wrote:
>>
>>> Hi Gabi,
>>>
>>> It cannot be done at the moment, will be possible as of 3.4 though.
>>>
>>>
>>>
>>> On Mon, Aug 10, 2009 at 11:26 AM, Gabriel Petrescu
>>> > wrote:
>>>>
>>>> hi:::)
>>>>
>>>> where is set the size of thumbnail in px?
>>>>
>>>> I want as thumbnail to be generated at al larger width.
>>>>
>>>> Gabi
>>>>
>>>
>>>
>>>
>>> --
>>> /holman
>>
>>
>>
>>
>>
>
>